package com.ruoyi.common.enums;

/**
 * 设备类别
 *
 * @author ruoyi
 */
public enum DeviceCategory {

    GATEWAY("1", "网关协议"), WATER("0", "水协议");

    private final String code;
    private final String info;

    DeviceCategory(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
